package com.wang.service.impl;

import com.wang.mapper.CustomerQuestionMapper;
import com.wang.mapper.CustomerRecordsMapper;
import com.wang.pojo.CustomerRecords;
import com.wang.response.Result;
import com.wang.response.ResultResponse;
import com.wang.service.CustomerRecordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 */
@Service
@Transactional
public class CustomerRecordsServiceImpl
    implements CustomerRecordsService{
    @Autowired
    CustomerRecordsMapper recordsMapper;

    @Override
    public ResultResponse addRecord(CustomerRecords records) {
        recordsMapper.insert(records);
        return ResultResponse.SUCCESS();
    }

}




